package com.usooft.metaTalent.core.teach.service;

import com.usooft.framework.core.query.Page;
import com.usooft.metaTalent.core.teach.entity.Course;
import com.usooft.metaTalent.core.teach.query.CourseQuery;
import com.usooft.metaTalent.core.teach.wrapper.CourseWrapper;
import java.util.List;
import java.util.Optional;
import java.lang.Long;

public interface CourseService {

    // region 自动生成
    Course get(Long id);

    Optional<Course> find(Long id);

    List<CourseWrapper> list(CourseQuery query);

    Page<CourseWrapper> page(CourseQuery query);

    int count(CourseQuery.Filter filter);
    // endregion

}